<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<!--                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('sales/slip/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
<!--                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('sales/slip/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
<!--                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('sales/slip/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>-->
<!--                        <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('sales/slip/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>-->

<!--                        <div class="dropdown btn-group {:$auth->check('sales/slip/multi')?'':'hide'}">-->
<!--                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->
<!--                            <ul class="dropdown-menu text-left" role="menu">-->
<!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>-->
<!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>-->
<!--                            </ul>-->
<!--                        </div>-->

<!--                        <a href="javascript:;" class="btn btn-default" style="font-size:14px;color:dodgerblue;">-->
<!--                            <i class="fa fa-dollar"></i>-->
<!--                            <span class="extend">-->
<!--                                订货数量：<span id="num">0</span>-->
<!--                                订货金额：<span id="price">0</span>-->
<!--                            </span>-->
<!--                        </a>-->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('sales/slip/edit')}" 
                           data-operate-del="{:$auth->check('sales/slip/del')}"
                           data-operate-examine="{:$auth->check('sales/slip/examine')}"
                           data-operate-examine2="{:$auth->check('sales/slip/examine2')}"
                           data-operate-examine3="{:$auth->check('sales/slip/examine3')}"
                           data-operate-checkout="{:$auth->check('sales/checkout/add')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>


<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-commonsearch">
        <div style="border-radius:2px;margin-bottom:10px;background:#f5f5f5;padding:15px 20px;">
<!--            <h4>自定义搜索表单</h4>-->
<!--            <hr>-->
            <div class="row">
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label">开始时间</label>
                        <input type="hidden" class="operate" data-name="createtime" value="RANGE"/>
                        <div>
                            <input type="text" class="form-control datetimerange" name="createtime" value="{$start_time}"/>
                        </div>
                    </div>
                </div>
                <div class="col-xs-12 col-sm-6 col-md-3">
                    <div class="form-group">
                        <label class="control-label"></label>
                        <div class="row">
                            <div class="col-xs-6">
                                <input type="submit" class="btn btn-success btn-block" value="提交"/>
                            </div>
                        </div>
                    </div>
                </div>
<!--                <div class="form-group">-->
<!--                    <label class="control-label">结束时间</label>-->
<!--                    <input type="hidden" class="operate" data-name="createtime" value="RANGE"/>-->
<!--                    <div>-->
<!--                        <input type="text" class="form-control datetimerange" name="createtime" value="{$start_time}"/>-->
<!--                    </div>-->
<!--                </div>-->

            </div>
        </div>
    </form>
</script>
